﻿<%@ Page EnableEventValidation="false" Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeBehind="ShowOrder.aspx.cs" Inherits="E2_WEBSITE.cp.member.ShowOrder" %>
<%@ Register TagPrefix="obout" Namespace="Obout.Grid" Assembly="obout_Grid_NET" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<asp:Table ID="tbThongbaoKetQua" runat="server" Width = "590">
    <asp:TableRow ID="TableRow1" runat="server" HorizontalAlign = "Center">
        <asp:TableCell ID="TableCell1_1" runat="server" RowSpan="3">
            <asp:Label ID="lbThongBaoKetQua" runat="server" Font-Bold="true" Font-Names="Times New Roman" Font-Size="X-Large" ForeColor="Red">Giao dịch thành công</asp:Label>
        </asp:TableCell>
    </asp:TableRow>
</asp:Table>

<asp:Table ID="tbThongTinGD" runat="server" BorderWidth="2" BorderStyle="Groove" CellPadding="4" GridLines="Both">
        <asp:TableRow ID="TableRow3" runat="server">
            <asp:TableCell ID="TableCell3_1" runat="server" ColumnSpan="2" HorizontalAlign="Center"
                Text="Xin quý khách hãy kiểm tra kỹ thông tin dưới đây. Quý khách nên lưu lại một bản sao nhằm đối chứng khi xảy ra sự cố." CssClass="Table_Search_Description">
                </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow ID="TableRow2" runat="server">
            <asp:TableCell ID="TableCell2_1" runat="server" ColumnSpan="2" 
                Text="Thông tin giao dịch" CssClass="Table_Search_Title"></asp:TableCell>
        </asp:TableRow>
        
        <asp:TableRow ID="TableRow4" runat="server">
            <asp:TableCell ID="TableCell4_1" runat="server" 
                Font-Names="Times New Roman" Font-Size="Medium"
                HorizontalAlign="Right" Width = "30%" >
                H&#7885; tên ng&#432;&#7901;i nh&#7853;n
            </asp:TableCell>
            <asp:TableCell ID="TableCell4_2" runat="server" 
                Font-Bold="true" Font-Names="Times New Roman" Font-Size="Medium" ForeColor="Brown"
                HorizontalAlign="Left" Width = "70%">
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow ID="TableRow5" runat="server">
            <asp:TableCell ID="TableCell5_1" runat="server" 
                Font-Names="Times New Roman" Font-Size="Medium"
                HorizontalAlign="Right" Width = "30%" >
                Địa chỉ người nhận
            </asp:TableCell>
            <asp:TableCell ID="TableCell5_2" runat="server" 
                Font-Bold="true" Font-Names="Times New Roman" Font-Size="Medium" ForeColor="Brown"
                HorizontalAlign="Left" Width = "70%">
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow ID="TableRow6" runat="server">
            <asp:TableCell ID="TableCell6_1" runat="server" 
                Font-Names="Times New Roman" Font-Size="Medium"
                HorizontalAlign="Right" Width = "30%" >
                Số ĐT người nhận
            </asp:TableCell>
            <asp:TableCell ID="TableCell6_2" runat="server" 
                Font-Bold="true" Font-Names="Times New Roman" Font-Size="Medium" ForeColor="Brown"
                HorizontalAlign="Left" Width = "70%">
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow ID="TableRow7" runat="server">
            <asp:TableCell ID="TableCell7_1" runat="server" 
                Font-Names="Times New Roman" Font-Size="Medium"
                HorizontalAlign="Right" Width = "30%" >
                Tổng tiền
            </asp:TableCell>
            <asp:TableCell ID="TableCell7_2" runat="server" 
                Font-Bold="true" Font-Names="Times New Roman" Font-Size="Medium" ForeColor="Red"
                HorizontalAlign="Left" Width = "70%">
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow ID="TableRow8" runat="server">
            <asp:TableCell ID="TableCell8_1" runat="server" 
                Font-Names="Times New Roman" Font-Size="Medium"
                HorizontalAlign="Right" Width = "30%" >
                Ngày giao dịch
            </asp:TableCell>
            <asp:TableCell ID="TableCell8_2" runat="server" 
                Font-Bold="true" Font-Names="Times New Roman" Font-Size="Medium" ForeColor="Brown"
                HorizontalAlign="Left" Width = "70%">
            25/11/2009
            </asp:TableCell>
        </asp:TableRow>
        <asp:TableRow ID="TableRow9" runat="server">
            <asp:TableCell ID="TableCell9_1" runat="server" ColumnSpan="2" 
                Text="Chi tiết giao dịch" CssClass="Table_Search_Title"></asp:TableCell>
        </asp:TableRow>
        <asp:TableRow ID="TableRow10" runat="server">
            <asp:TableCell ID="TableCell10_1" runat="server" ColumnSpan="2">
                <obout:Grid runat="server" ID="grid_OrderDetail" AutoGenerateColumns="false"
		        FolderStyle="/App_Themes/E2GroupTheme/obout/styles/style_4" 
		        AllowAddingRecords="false" 
		        AllowColumnResizing = "true"
		        AllowRecordSelection = "false"
		        AllowSorting = "true"
		        Width = "1000"
		        >
                    <Columns>
                        <obout:Column DataField="TenSanPham" HeaderText="Tên sản phẩm" Width = "125" Wrap="true" Align="center"></obout:Column>
                        <obout:Column DataField="Url" HeaderText="Hình ảnh" Width="100" Align="center" Wrap = "true">
                            <TemplateSettings TemplateID="ImageTemplate" />
                        </obout:Column>
                        <obout:Column DataField="MauSac" HeaderText="Màu sắc" Width = "90" Wrap ="true" Align="center"></obout:Column>
                        <obout:Column DataField="SoLuong" HeaderText="Số lượng" Width = "90" Wrap ="true" Align="center"></obout:Column>
                        <obout:Column DataField="DonGia" HeaderText="Đơn giá" Width="120" Wrap = "true" Align="center">
                            <TemplateSettings TemplateId="GiaTienTemplate" />
                        </obout:Column>
                        <obout:Column DataField="ThanhTien" HeaderText="Thành tiền" Width="120" Wrap = "true" Align="center">
                            <TemplateSettings TemplateId="GiaTienTemplate" />
                        </obout:Column>
                    </Columns>
                    
                    <Templates>
				        <obout:GridTemplate runat="server" ID="ImageTemplate">
					        <Template><img src="/images/HinhAnhSanPham/<%# Container.DataItem["Url"] %>" alt="" width="50" height="50" /></Template>
				        </obout:GridTemplate>
				        <obout:GridTemplate runat="server" ID="GiaTienTemplate">
                            <Template>
                                <%# E2_WEBSITE.Code.Utilities.ConvertToMoneyFormat(int.Parse(Container.Value.ToString()), true)%>
                            </Template>
                        </obout:GridTemplate>
			        </Templates>
                    <MasterDetailSettings LoadingMode="OnCallback" />
                    <ScrollingSettings ScrollWidth = "570"/>
                </obout:Grid>
            </asp:TableCell>
        </asp:TableRow>
</asp:Table>

<asp:Table ID="tblTemp" runat="server" Width = "590">
    <asp:TableRow ID="TableRowTemp" runat="server" HorizontalAlign = "Center">
        <asp:TableCell ID="TableCellTemp" runat="server" ColumnSpan="2">
            <asp:Button ID="btnReturn" runat="server" Text="Trở lại" OnClick="Back_OnClick"/>
        </asp:TableCell>
    </asp:TableRow>
</asp:Table>
</asp:Content>